//
//  CornerGradientVC.swift
//  BWExtensionKit_Example
//
//  Created by zhuxuhong on 2022/2/22.
//  Copyright © 2022 CocoaPods. All rights reserved.
//

import UIKit
import BWExtensionKit

class CornerGradientVC: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = .orange
        view.setupZCorners([.allCorners], radii: .init(width: 100, height: 80))
        view.setupZGradient(locationAndColors: [
            0: .purple,
            1: .orange,
        ])
    }
}
